# Contributor:
# Maintainer:
pkgname=py3-wtf-peewee
_pkgname=wtf-peewee
pkgver=3.0.0
pkgrel=2
pkgdesc="WTForms integration for peewee"
url="https://github.com/coleifer/wtf-peewee"
arch="noarch"
license="MIT"
depends="py3-peewee"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="130df6bb4f9f539c5cef9d6e05b778b29266bc43dcc90f1c2af11f16b608d63df58feb8463d544fd7e01bceb2e66013be166623e4331f605a2eb920ad209165f  wtf-peewee-3.0.0.tar.gz"
